import request from '@/config/axios'

export const CommonOptionsApi = {
  //产品分类
  getProductCategory: async () => {
    return await request.get({ url: `erp/product-category/simple-list` })
  },
  //品牌
  getProductBrand: async () => {
    return await request.get({ url: `/erp/product-brand/simple-list`})
  },
  //仓位
  getWarehouseZone: async () => {
    return await request.get({ url: `/erp/warehouse-zone/simple-list`})
  },
  //业务类型
  getBusinessType: async () => {
    return await request.get({ url: `/erp/product/business/simple-list`})
  },
}
